package com.ab.example.provider;

import com.ab.abrpc.registry.LocalRegistry;
import com.ab.abrpc.server.HttpServer;
import com.ab.abrpc.server.VertxHttpServer;
import com.ab.example.common.service.UserService;

public class EasyProviderExample {
    public static void main(String[] args) {
        LocalRegistry.registry(UserService.class.getName(),UserServiceImpl.class);
        VertxHttpServer server = new VertxHttpServer();
        server.doStart(8080);
    }
}
